Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Transforms🞂Matrix TypesType

Matrix Types

Defines 3x3 transformation matrix representations and identity constants.

Description ​

The GR32_Transforms unit uses 3×3 matrices to represent 2D homogeneous coordinate transformations (translation, rotation, scaling, skewing, and projective mapping).

  • TFloatMatrix: 3×3 matrix using 32-bit floating-point precision (TFloat).
  • TFixedMatrix: 3×3 matrix using 16.16 fixed-point precision (TFixed).
  • IdentityMatrix: 3×3 constant identity matrix (Mi,i=1, Mi,j=0).

Types & Constants ​

IdentifierType / DeclarationDescription
TFloatMatrixarray [0..2, 0..2] of TFloat;3×3 floating-point transformation matrix.
TFixedMatrixarray [0..2, 0..2] of TFixed;3×3 fixed-point transformation matrix.
IdentityMatrixconst IdentityMatrix: TFloatMatrixConstant 3×3 floating-point identity matrix.